<!--
*Author：富行天下团队
 
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/Distributor/DistributorInterface.js此处编写
 -->
<template>
  <div>
    <view-grid ref="grid"
               :columns="columns"
               :detail="detail"
               :editFormFields="editFormFields"
               :editFormFileds="editFormFields"
               :editFormOptions="editFormOptions"
               :searchFormFields="searchFormFields"
               :searchFormFileds="searchFormFields"
               :searchFormOptions="searchFormOptions"
               :table="table"
               :extend="extend">
    </view-grid>
  </div>
</template>

<script>
import extend from "@/extension/Distributor/DistributorInterface.js";
import ViewGrid from "@/components/basic/ViewGrid.vue";
var vueParam = {
  components: {
    ViewGrid
  },
  data () {
    return {
      table: {
        key: 'interfaceid',
        footer: "Foots",
        cnName: '渠道接口配置',
        name: 'DistributorInterface',
        url: "/DistributorInterface/",
        sortName: "createDate"
      },
      extend: extend,
      editFormFields: {},
      editFormOptions: [],
      searchFormFields: {},
      searchFormOptions: [],
      columns: [{ field: 'createDate11', title: '创建时间', type: 'datetime', width: 90, align: 'left', sortable: true },
      { field: 'createID', title: '创建人ID', type: 'int', width: 90, hidden: true, align: 'left' },
      { field: 'creator', title: '创建人', type: 'string', width: 180, align: 'left' },
      { field: 'distributorId', title: '渠道id', type: 'int', width: 90, align: 'left' },
      { field: 'interfaceid', title: '主键', type: 'int', width: 90, hidden: true, readonly: true, require: true, align: 'left' },
      { field: 'interfaceRequestParam', title: '参数', type: 'string', width: 90, align: 'left' },
      { field: 'interfaceType', title: '接口类型', type: 'string', width: 220, align: 'left' },
      { field: 'modifier', title: '修改人', type: 'string', width: 180, align: 'left' },
      { field: 'modifyDate', title: '修改时间', type: 'datetime', width: 90, align: 'left', sortable: true },
      { field: 'modifyID', title: '修改人ID', type: 'int', width: 90, hidden: true, align: 'left' }],
      detail: {
        cnName: "#detailCnName",
        columns: [],
        sortName: "",
        key: ""
      }
    };
  }
};
export default vueParam;
</script>
